using System;
namespace MRIData
{
	/// <summary>
	/// To build a boundary element model 
	/// </summary>
	public class Mesh
	{
		double[,] m_vertices;
		double[,] m_triangles;
		double[,] m_normals;
		String m_scale;
		
		public Mesh(double[,] vertices, int[,] triangles)
		{
			Vertices = vertices;
			Triangles = triangles;
		}
		
		public void MoveVertex(int index, double[] position)
		{
		}
		
		#region Properties
		public double[,] Vertices { get; private set; }
		public int[,] Triangles { get; private set; }
		String Scale { get; set; }
		#endregion
		
		
		public static Mesh UnitSphere()
		{
			double[,] vertices = new double[0,0];
			return QHull.ConvexHull(vertices);
		}
		
		
		
		
	}
}

